package dao;
import entity.Student;
public class UserFactory {
    //返回Student对象的静态工厂方法
    public static Student newDemo(){
        return new Student();
    }
    //实例方法
    public Student createUser(){
        return new Student();
    }
}
